<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="zh-CN">
	<head>
		<title>修改个人信息 - 用户中心</title>
		<%@ include file="/common/include/title.jsp" %>
	</head>
	<body>
		<%-- 静态包含 --%>
		<%@ include file="/common/include/header.jsp" %>
		
		<div class="container-fluid">
			<div class="row">
				<div class="col-sm-8 col-sm-offset-1 main">
					<h2 class="sub-header">添加管理员</h2>
	
					<form id="form" class="form-horizontal" method="post"
						action="${pageContext.request.contextPath }/back/ConsumeBackServlet?method=consumeInsertSubmit">
						<div class="form-group">
							<label for="balanceId" class="col-sm-2 control-label">用户Id:</label>
							<div class="col-sm-8">
								<input type="text" id="balanceId" name="balanceId" value="${requestScope.consume.balanceId }"
									class="form-control" placeholder="用户Id">
							</div>
						</div>
						<div class="form-group">
							<label for="ordersId" class="col-sm-2 control-label">订单Id:</label>
							<div class="col-sm-8">
								<input type="text" id="ordersId" name="ordersId" value="${requestScope.consume.ordersId }"
									class="form-control" placeholder="订单Id">
							</div>
						</div>
						<div class="form-group">
							<label for="accountId" class="col-sm-2 control-label">账户Id:</label>
							<div class="col-sm-8">
								<input type="text" id="accountId" name="accountId" value="${requestScope.consume.accountId }"
									class="form-control" placeholder="账户Id">
							</div>
						</div>
						<div class="form-group">
							<label for="thirdSn" class="col-sm-2 control-label">第三方流水号:</label>
							<div class="col-sm-8">
								<input type="text" id="thirdSn" name="thirdSn" value="${requestScope.consume.thirdSn }"
									class="form-control" placeholder="第三方流水号">
							</div>
						</div>
						<div class="form-group">
							<label for="consumeTime" class="col-sm-2 control-label">耗时分钟数:</label>
							<div class="col-sm-8">
								<input type="text" id="consumeTime" name="consumeTime" value="${requestScope.consume.consumeTime }"
									class="form-control" placeholder="耗时分钟数">
							</div>
						</div>
						<div class="form-group">
							<label for="price" class="col-sm-2 control-label">金额:</label>
							<div class="col-sm-8">
								<input type="text" id="price" name="price" value="${requestScope.consume.price }"
									class="form-control" placeholder="金额">
							</div>
						</div>
						<div class="form-group">
							<label for="bhType" class="col-sm-2 control-label">类型:</label>
							<div class="col-sm-8">
								<input type="text" id="bhType" name="bhType" value="${requestScope.consume.bhType }"
									class="form-control" placeholder="类型">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label">类型:</label>
							<div class="col-sm-8">
								<input type="radio" name="bhType" id="bhType1" value="1" ${requestScope.consume.bhType == '0' ? 'checked' : '' }>
								<label for="bhType1">消费</label>
								<input type="radio" name="bhType" id="bhType0" value="0" ${requestScope.consume.bhType == '1' ? 'checked' : '' }>
								<label for="bhType0">提现</label>
								<input type="radio" name="bhType" id="bhType0" value="0" ${requestScope.consume.bhType == '2' ? 'checked' : '' }>
								<label for="bhType0">充值</label>
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label">状态:</label>
							<div class="col-sm-8">
								<input type="radio" name="status" id="status1" value="1" ${requestScope.consume.status == '1' ? 'checked' : '' }>
								<label for="status1">启用</label>
								<input type="radio" name="status" id="status0" value="0" ${requestScope.consume.status == '0' ? 'checked' : '' }>
								<label for="status0">禁用</label>
							</div>
						</div>
						<div class="form-group">
							<div class="col-sm-8 col-sm-offset-2">
								<button class="btn btn-lg btn-primary" type="submit">提交</button>
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
	
	
		<!-- 提示信息 -->
		<div class="container">
			<div class="col-sm-8 col-sm-offset-1">
				${requestScope.info }
			</div>
		</div>
		<%-- 包含一下脚 --%>
		<%@ include file="/common/include/footer.jsp" %>	
	</body>
</html>